﻿ <%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="DataSet.aspx.cs" Inherits="WebApplication2.DataSet" %>
<h1>Data Set(local)</h1>
<h1>Data Set(web)</h1>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:GridView ID="dgSkole" runat="server" CssClass="mojatabela" 
        AutoGenerateColumns="False" AllowPaging="True" AllowSorting="True" 
        onrowdeleting="dgSkole_RowDeleting">
        <Columns>
            <asp:BoundField DataField="Naziv" HeaderText="School" />
            <asp:BoundField DataField="Adresa" HeaderText="Address" />
            <asp:BoundField DataField="Zemlja" HeaderText="Country" />
            <asp:HyperLinkField DataNavigateUrlFields="IDSkola" 
                DataNavigateUrlFormatString="DataSetDetails.aspx?id={0}" Text="Detalji" />
            <asp:ButtonField ButtonType="Button" CommandName="Delete" Text="Obrisi" />
        </Columns>
    </asp:GridView>
</asp:Content>
